scoreboard players add @s rmr.local.fly_times 1
execute if score @s rmr.local.fly_times matches 6.. run return 0
function rmr:entity/flying_axe/next
scoreboard objectives add rmr.local.in dummy
execute as @e[tag=rmr.maybe_target] run function rmr:entity/flying_axe/test_self_collide
scoreboard objectives remove rmr.local.in

function rmr:entity/flying_axe/collide